#!/bin/bash
rm -rf build/*
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o build/docker-hosts_linux_amd64 main.go
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o build/docker-hosts_linux_arm64 main.go
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o build/docker-hosts_mac_amd64 main.go
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o build/docker-hosts_windows_amd64.exe main.go